package com.jet.merchant.service;

import com.jet.core.model.vo.PageVo;
import com.jet.merchant.domain.dto.CommissionRuleDto;
import com.jet.merchant.domain.entity.ClerkCommissionRule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jet.merchant.domain.query.CommissionRuleQuery;
import com.jet.merchant.domain.vo.CommissionRuleVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-02-25
 */
public interface IClerkCommissionRuleService extends IService<ClerkCommissionRule> {

    void create(long merchantNo, CommissionRuleDto dto);

    void edit(String id, CommissionRuleDto dto);

    void editStatus(String id, int status);

    CommissionRuleVo findById(String id);

    List<CommissionRuleVo> list(long merchantNo, CommissionRuleQuery query);

    PageVo<CommissionRuleVo> page(long merchantNo, CommissionRuleQuery query);
}
